package com.my.srpingboot.starter.test.service;

import com.my.srpingboot.starter.test.HelloProperties;
import org.springframework.beans.factory.annotation.Autowired;

/**
 * @author zp
 * @version 1.0
 * @description: TODO
 * @date 2022/9/24 16:38
 */
public class HelloService {
    @Autowired
    HelloProperties helloProperties;

    public String helloSay(String userName){
        return "前缀"+helloProperties.getTop()+userName+"后缀"+helloProperties.getDown();
    }
}
